/*    */ package cc.s2m.web.s2mBlog.vo;
/*    */ 
/*    */ import java.util.ArrayList;
/*    */ import java.util.List;
/*    */ 
/*    */ public class VO
/*    */ {
/*    */   private List<ExpressionChain> expressionChainList;
/*    */ 
/*    */   public VO()
/*    */   {
/* 10 */     this.expressionChainList = new ArrayList();
/*    */   }
/*    */ 
/*    */   public void or(ExpressionChain expressionChain) {
/* 14 */     this.expressionChainList.add(expressionChain);
/*    */   }
/*    */ 
/*    */   public void or(Expression expression) {
/* 18 */     this.expressionChainList.add(new ExpressionChain().and(expression));
/*    */   }
/*    */ 
/*    */   public void and(Expression expression) {
/* 22 */     if (this.expressionChainList.isEmpty()) {
/* 23 */       this.expressionChainList.add(new ExpressionChain());
/*    */     }
/* 25 */     ((ExpressionChain)this.expressionChainList.get(0)).and(expression);
/*    */   }
/*    */ 
/*    */   public List<ExpressionChain> getExpressionChainList() {
/* 29 */     return this.expressionChainList;
/*    */   }
/*    */ 
/*    */   public void setExpressionChainList(List<ExpressionChain> expressionChainList) {
/* 33 */     this.expressionChainList = expressionChainList;
/*    */   }
/*    */ }

/* Location:           C:\Users\Administrator\Desktop\s2mBlog.zip
 * Qualified Name:     s2mBlog-3.0.0.WEB-INF.classes.cc.s2m.web.s2mBlog.vo.VO
 * JD-Core Version:    0.6.1
 */